import { POST } from "../../services/request";

export default {
    cartAdd(data = {})
    {
        return POST({
            url:'product/cart/add',
            params:data
        });
    },
    cartIndex(data = {})
    {
        return POST({
            url:'product/cart/index',
            params:data
        });
    },
    cartUpdate(data = {})
    {
        return POST({
            url:'product/cart/update',
            params:data
        });
    },
    cartDel(data = {})
    {
        return POST({
            url:'product/cart/del',
            params:data
        });
    },
    cartInfo(data = {})
    {
        return POST({
            url:'product/cart/info',
            params:data,
        });
    }
}